package com.han.school.mapper;

import com.han.school.pojo.Book;
import com.han.school.pojo.Iron;
import com.han.school.vo.BookVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IronMapper {
    Integer addiron(String name);

    List<Iron> select();

    Integer addbook(Book book);

    Integer upcheck(BookVo bookVo);

    Integer upcheck1(BookVo bookVo);

    Integer delss(BookVo bookVo);

    List<BookVo> seletall();

    Integer updatebook(BookVo bookVo);

    Integer deletebook(Book book);
}
